use std::env;

pub fn env_host() -> String {
    env::var("HOST").expect("HOST is not set")
}

pub fn env_port() -> String {
    env::var("PORT").expect("PORT is not set")
}

pub fn env_mongo_uri() -> String {
    env::var("MONGODB_URI").expect("MONGODB_URI is not set")
}

pub fn env_db_name() -> String {
    std::env::var("DB_NAME").expect("DB_NAME is not set")
}
